/**
 * Created by ray on 17-6-9.
 */
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */


import React,{ Component } from 'react';
import {
StyleSheet,
View,
Text,
} from 'react-native'
class Banner extends Component {

    render() {
        return (
            <View style={[styles.container,styles.flex,styles.border]}>
                <Text>
                    placeHolder Banner
                </Text>

            </View>
        );
    }

}

const styles = StyleSheet.create({
   container:{
       flexDirection:'row',
       alignItems:'center',
       backgroundColor:'pink'
   },
   flex:{
       flex:1
   },
    border:{
        borderWidth:0.5,
        borderColor:'gray'
    }
});

export default Banner;